package cn.wen.springframework.beans.factory.support;import cn.wen.springframework.beans.BeansException;import cn.wen.springframework.core.io.Resource;import cn.wen.springframework.core.io.ResourceLoader;/** * @ClassName: BeanDefinitionReader * @Author: 小飞 * @Date: 2023/3/27 17:32 * @Description: BeanDefinition 的解析器接口 定义接口方法 */public interface BeanDefinitionReader {    BeanDefinitionRegistry getRegistry();    ResourceLoader getResourceLoader();    void loadBeanDefinitions(Resource resource) throws BeansException;    void loadBeanDefinitions(Resource... resource) throws BeansException;    void loadBeanDefinitions(String location) throws BeansException;    void loadBeanDefinitions(String... locations) throws BeansException;}